package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险对象 INSURANCE
 * 
 * @author ruoyi
 * @date 2021-11-09
 */
public class INSURANCE extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险id */
    private String insuranceId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String firmName;

    /** 保险单号 */
    @Excel(name = "保险单号")
    private String insuranceNumber;

    /** 是否学费包含 */
    @Excel(name = "是否学费包含")
    private String tuitionIn;

    /** 保险开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保险开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 保险结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保险结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 学生状态 */
    @Excel(name = "学生状态")
    private String studentState;

    /** 保险状态是否到期 */
    @Excel(name = "保险状态是否到期")
    private String insuranceState;

    public void setInsuranceId(String insuranceId) 
    {
        this.insuranceId = insuranceId;
    }

    public String getInsuranceId() 
    {
        return insuranceId;
    }
    public void setFirmName(String firmName) 
    {
        this.firmName = firmName;
    }

    public String getFirmName() 
    {
        return firmName;
    }
    public void setInsuranceNumber(String insuranceNumber) 
    {
        this.insuranceNumber = insuranceNumber;
    }

    public String getInsuranceNumber() 
    {
        return insuranceNumber;
    }
    public void setTuitionIn(String tuitionIn) 
    {
        this.tuitionIn = tuitionIn;
    }

    public String getTuitionIn() 
    {
        return tuitionIn;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setStudentState(String studentState) 
    {
        this.studentState = studentState;
    }

    public String getStudentState() 
    {
        return studentState;
    }
    public void setInsuranceState(String insuranceState) 
    {
        this.insuranceState = insuranceState;
    }

    public String getInsuranceState() 
    {
        return insuranceState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("insuranceId", getInsuranceId())
            .append("firmName", getFirmName())
            .append("insuranceNumber", getInsuranceNumber())
            .append("tuitionIn", getTuitionIn())
            .append("beginTime", getBeginTime())
            .append("finishTime", getFinishTime())
            .append("studentState", getStudentState())
            .append("insuranceState", getInsuranceState())
            .toString();
    }
}
